<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>index</title>
</head>
<body>
<div id="app">
    <!-- 相当于电视遥控器   -->
    <router-link to="/login">登录</router-link>
    <router-link to="/register">注册</router-link>
    <hr/>
    <!-- 相当于电视 用来动态显示组件   -->
    <router-view></router-view>
</div>

</body>
</html>